package com.ruoyi.wms.service;

import com.ruoyi.wms.domain.WmsOrder;
import com.ruoyi.wms.dto.WmsOrderDto;
import com.ruoyi.wms.vo.WmsOrderVo;

import java.util.List;


/**
 * WMS订单Service接口
 *
 * @author ruoyi
 * @date 2025-09-12
 */
public interface IWmsOrderService {
    /**
     * 查询WMS订单
     *
     * @param id WMS订单主键
     * @return WMS订单
     */
    public WmsOrderVo selectWmsOrderById(String id);

    /**
     * 查询WMS订单列表
     *
     * @param wmsOrder WMS订单
     * @return WMS订单集合
     */
    public List<WmsOrderVo> selectWmsOrderList(WmsOrderDto wmsOrder);

    /**
     * 新增WMS订单
     *
     * @param wmsOrder WMS订单
     * @return 结果
     */
    public int insertWmsOrder(WmsOrderVo wmsOrder);

    /**
     * 修改WMS订单
     *
     * @param wmsOrder WMS订单
     * @return 结果
     */
    public int updateWmsOrder(WmsOrderVo wmsOrder);

    /**
     * 批量删除WMS订单
     *
     * @param ids 需要删除的WMS订单主键集合
     * @return 结果
     */
    public int deleteWmsOrderByIds(String[] ids);

    /**
     * 删除WMS订单信息
     *
     * @param id WMS订单主键
     * @return 结果
     */
    public int deleteWmsOrderById(String id);
}
